﻿namespace Refract.Event
{
    using System;

    /// <summary>
    /// Extends the eventargs class by adding a generic parameter
    /// </summary>
    /// <typeparam name="TParam">The type of the parameter.</typeparam>
    public class EventArgs<TParam> : EventArgs
    {
        #region Constructors

        public EventArgs(TParam parameter)
        {
            Parameter = parameter;
        }

        #endregion Constructors

        #region Properties

        public TParam Parameter
        {
            get; set;
        }

        #endregion Properties
    }
}